<template>
<div>
  <h1>欢迎</h1>
<table>
  <tr>
    <td>分类</td>
    <td>商品</td>
  </tr>
  <tr v-for="i in ss">
    <td>{{i.fname}}</td>
    <td>{{i.shop}}</td>
  </tr>
</table>
</div>
</template>

<script>
export default {
  name: "bb",
  data(){
    return{
      fid:this.$route.query.fid,
      ss:[]
    }
  },
  methods:{
    get_ss(){
      this.$axios.get('admin/addfl?fid='+this.fid).then(res=>{
        this.ss = res.data.list
      })
    }
  },
  mounted() {
    this.get_ss()
  }
}
</script>

<style scoped>

</style>
